package cc.lj.internal.coupons.interfaces.dto.convert;

import cc.lj.internal.coupons.domain.ticket.model.vo.TicketBatchLifecycleContinueDO;
import cc.lj.internal.coupons.interfaces.dto.TicketBatchLifecycleContinueDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 电子券批次连续有效期表DO与DTO转换
 * @author liangxifeng
 * @date 2021-12-20
 */
@Mapper
public interface TicketBatchLifecycleContinueDTOConvertDO {
    TicketBatchLifecycleContinueDTOConvertDO INSTANCE = Mappers.getMapper(TicketBatchLifecycleContinueDTOConvertDO.class);

    //dto to do
    TicketBatchLifecycleContinueDO convert(TicketBatchLifecycleContinueDTO ticketBatchLifecycleContinueDTO);

    //do to dto
    TicketBatchLifecycleContinueDTO convert(TicketBatchLifecycleContinueDO ticketBatchLifecycleContinueDO);
}
